package camid.distribution.interceptor;

import camid.distribution.protocol.MethodRequestMessage;
import camid.distribution.protocol.MethodResponseMessage;

public interface InvocationInterceptor {

	void beforeInvocation(MethodRequestMessage requestMessage) throws Exception;
	
	void afterInvocation(MethodRequestMessage requestMessage, MethodResponseMessage responseMessage) throws Exception;

	MethodResponseMessage intercept(InterceptorChain interceptorChain) throws Exception;
	
}
